package org.jin.samples.service;

import java.util.List;

import org.jin.samples.model.ExamTest;
import org.jin.samples.model.vo.ExamTestVO;
import org.jin.samples.page.PagerModel;
import org.springframework.stereotype.Service;

@Service
public interface ITestService {
	
	public List<ExamTest> findAllTest();
	
	public ExamTestVO findByTest(Integer id);
	
	public void addTest(ExamTestVO test)throws Exception;

	public void editTest(ExamTestVO vo) throws Exception;

	public void deleteUser(Integer id);
	
	public PagerModel<ExamTest> findAllByPage();
	
	public List<ExamTest> findAllBySubId(Integer subId)throws Exception;
}
